<div id="maincol" class="container_16"> 
<h1><?php echo $brokerage->getNome(); ?>	</h1>
   
<div id="elenco" class="grid_11 alpha">    
  <?php echo $brokerage->getDescrizione() ?><br /><br />
<img src="<?php echo image_path('/uploads/navi/'.$img) ?>" width="500px">
<br /><br /><br />
<a href="<?php echo url_for('brokerage_show',$brokerage) ?>">Indietro</a>
</div>


<div id="img_elenco" class="grid_4 omega">

<?php if($brokerage->getImmagine1()!=$img):?>

<a href="<?php echo url_for('brokerage/showimage?img='.$brokerage->getImmagine1().'&id='.$brokerage->getId()) ?>">
<img src="<?php echo image_path('/uploads/navi/'.$brokerage->getImmagine1()) ?>" width="300px"></a>

<?php endif; ?>
<?php if($brokerage->getImmagine2() AND $brokerage->getImmagine2()!=$img):?><a href="<?php echo url_for('brokerage/showimage?img='.$brokerage->getImmagine2().'&id='.$brokerage->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$brokerage->getImmagine2()) ?>" width="300px"></a><?php endif; ?>
<?php if($brokerage->getImmagine3() AND $brokerage->getImmagine3()!=$img):?><a href="<?php echo url_for('brokerage/showimage?img='.$brokerage->getImmagine3().'&id='.$brokerage->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$brokerage->getImmagine3()) ?>" width="300px"></a><?php endif; ?>
<?php if($brokerage->getImmagine4() AND $brokerage->getImmagine4()!=$img):?><a href="<?php echo url_for('brokerage/showimage?img='.$brokerage->getImmagine4().'&id='.$brokerage->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$brokerage->getImmagine4()) ?>" width="300px"></a><?php endif; ?>
<?php if($brokerage->getImmagine5() AND $brokerage->getImmagine5()!=$img):?><a href="<?php echo url_for('brokerage/showimage?img='.$brokerage->getImmagine5().'&id='.$brokerage->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$brokerage->getImmagine5()) ?>" width="300px"></a><?php endif; ?>
<?php if($brokerage->getImmagine6() AND $brokerage->getImmagine6()!=$img):?><a href="<?php echo url_for('brokerage/showimage?img='.$brokerage->getImmagine6().'&id='.$brokerage->getId()) ?>"><img src="<?php echo image_path('/uploads/navi/'.$brokerage->getImmagine6()) ?>" width="300px"></a><?php endif; ?>
</div>
</div>
